/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.zgs.mall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
//nacos开启服务注册和服务发现
@EnableDiscoveryClient
@MapperScan("com.zgs.mall.member.dao")
//feign 开启远程调用
@EnableFeignClients(basePackages = "com.zgs.mall.member.feign")
public class MallMemberApplication {

	public static void main(String[] args) {

		SpringApplication.run(MallMemberApplication.class, args);
	}

}